<?php

session_start();

require_once 'AppMessages.php';
require_once 'ConnectDb.php';
 
class TestService {

	public function returnParam($param) {
	
		switch( $param )
		{
			case "true": return true; break;
			case "false": return false; break;
			
			default:	return $param;
		}
	}
	
	public function setSessionVar( $name, $value ) {
		$_SESSION[$name] = $value;
		return $_SESSION[$name];
	}
	
	public function getSessionVar($name) {
		return $_SESSION[$name];
	}
	
}
?>
